package main

import (
	"01-ginrouter/routers"
	"01-ginrouter/routers/blog"
	"01-ginrouter/routers/shop"
	"fmt"
)

func main() {
	r := routers.Init()
	routers.Include(shop.Routers, blog.Routers)
	if error := r.Run(":8000"); error != nil {
		fmt.Printf("Startup service failed, err:%v\n\n", error)
	}
}
